/**
 * 输出char,short,int,long的范围
 */

#include <stdio.h>
#include <limits.h>

int main() {
    printf("int: %d - %d\n", INT_MIN, INT_MAX);
    printf("uint: %d - %ud\n", 0, UINT_MAX);
    printf("int: %d - %d\n", (1<<31), (1<<31) - 1);
    printf("uint: %d - %lu\n", 0, (1<<32) - 1);

    return 0;
}
